package com.didi.virtualapk.demo;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.widget.TextView;

import com.didi.virtualapk.pluginlib.Manager;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.a_activity_main);

        if (Manager.getUserInfo() != null) {
            TextView textView1 = (TextView) findViewById(R.id.textView1);
            textView1.setText("年龄：" + Manager.getUserInfo().getUserAge());
        }
    }
}
